package com.kingdee.eas.ct;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class WebserviceFactory
{
    private WebserviceFactory()
    {
    }
    public static com.kingdee.eas.ct.IWebservice getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.ct.IWebservice)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("73332166") ,com.kingdee.eas.ct.IWebservice.class);
    }
    
    public static com.kingdee.eas.ct.IWebservice getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.ct.IWebservice)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("73332166") ,com.kingdee.eas.ct.IWebservice.class, objectCtx);
    }
    public static com.kingdee.eas.ct.IWebservice getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.ct.IWebservice)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("73332166"));
    }
    public static com.kingdee.eas.ct.IWebservice getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.ct.IWebservice)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("73332166"));
    }
}